<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"  %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <title>测试</title>
  </head>

  <body>
  	<table border="1">
  		<tr>
  			<td>ID</td>
  			<td>姓名</td>
  			<td>修改</td>
  			<td>删除</td>
  		</tr>
  		<s:iterator value="#testList" var="test">
  			<tr>
  				<td>${test.id }</td>
  				<td>${test.name }</td>
  				<td>
  					<s:a action="testAction_editUI?id=%{id}">修改</s:a>
  				</td>
  				<td>
  					<s:a action="testAction_delete?id=%{id}">删除</s:a>
  				</td>
  			</tr>
  		</s:iterator>
  	</table><br/>
  	<s:a action="testAction_addUI">新增</s:a>
  </body>
</html>
